// pages/login/login.js
Page({
    wechatLogin:function(){
       console.log('微信登录');
    },
    doubanLogin:function(){
        console.log('已有豆瓣账号');
    },
    openagreement:function(){
        console.log('打开豆瓣协议');
        wx.navigateTo({
            url: '/pages/agreement/agreement',
            success: (result) => {
                
            },
            fail: () => {},
            complete: () => {}
        });
          
    }
})